package com.bestcem.xm.user.mq.message.group;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * 组织批量失效发送的消息
 *
 * @author wangyunyun <yunyun.wang@idiaoyan.com>
 * @version v1.0
 * @date 2022/8/3 15:58
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class ValidateGroupListMessage implements Serializable {

    private static final long serialVersionUID = -4006571401661788830L;

    /**
     * 租户id
     */
    @JsonProperty("org_id")
    @JSONField(name = "org_id")
    private String orgId;
    /**
     * 组织id列表
     */
    @JsonProperty("id_list")
    @JSONField(name = "id_list")
    private List<String> groupIds;

}
